/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/16/2010                        
            */

using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObject
{
    /// <summary>
    /// Define DonViTinhLoaiHangHoaResult object. This object used to contain data that returned from data layer.
    /// </summary>
    public class DonViTinhLoaiHangHoaResult
    {
        #region fields
        private int maLoaiHangHoa;
        private int maDonViTinh;
        private int order;
        #endregion fields

        #region properties
        /// <summary>
        /// Define MaLoaiHangHoa Property.
        /// </summary>
        public int MaLoaiHangHoa
        {
            get { return this.maLoaiHangHoa; }
            set { this.maLoaiHangHoa = value; }
        }
        /// <summary>
        /// Define MaDonViTinh Property.
        /// </summary>
        public int MaDonViTinh
        {
            get { return this.maDonViTinh; }
            set { this.maDonViTinh = value; }
        }
        /// <summary>
        /// Define Order Property.
        /// </summary>
        public int Order
        {
            get { return this.order; }
            set { this.order = value; }
        }
        #endregion properties

        #region constructor
        /// <summary>
        /// Define default constructor for DonViTinhLoaiHangHoaResultResult Object.
        /// </summary>
        public DonViTinhLoaiHangHoaResult()
        {
            this.maLoaiHangHoa = int.MinValue;
            this.maDonViTinh = int.MinValue;
            this.order = int.MinValue;
        }
        /// <summary>
        /// Define constructor for DonViTinhLoaiHangHoaResultResult Object.
        /// </summary>
        public DonViTinhLoaiHangHoaResult(int maLoaiHangHoa,
                    int maDonViTinh,
                    int order)
        {
            this.maLoaiHangHoa = maLoaiHangHoa;
            this.maDonViTinh = maDonViTinh;
            this.order = order;
        }
        #endregion constructor
    }
}